[INFO] cloning repository https://github.com/badrazizi/ruqyah_telegram_bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badrazizi/ruqyah_telegram_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrazizi%2Fruqyah_telegram_bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrazizi%2Fruqyah_telegram_bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b229b04ecbcf0def0fc7fd3ed574efe772016d23
[INFO] fixing badrazizi/ruqyah_telegram_bot against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrazizi%2Fruqyah_telegram_bot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/badrazizi/ruqyah_telegram_bot
[INFO] finished tweaking git repo https://github.com/badrazizi/ruqyah_telegram_bot
[INFO] tweaked toml for git repo https://github.com/badrazizi/ruqyah_telegram_bot written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/badrazizi/ruqyah_telegram_bot on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/badrazizi/ruqyah_telegram_bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361
[INFO] running `Command { std: "docker" "start" "b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]    Compiling cc v1.1.34
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking notify-types v1.0.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking filetime v0.2.25
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking notify v7.0.0
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]     Checking cfb v0.7.3
[INFO] [stderr]     Checking infer v0.16.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling teloxide-macros v0.8.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking dptree v0.3.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-stream v0.1.16
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.3
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking teloxide-core v0.10.1
[INFO] [stderr]     Checking teloxide v0.13.0
[INFO] [stderr]     Checking ruqyah_telegram_bot v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:111:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (tx, rx) = mpsc::channel::<notify::Result<Event>>();
[INFO] [stdout]     |              --
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `rx` calls a custom destructor
[INFO] [stdout]     |              `rx` will be dropped later as of Edition 2024
[INFO] [stdout] 110 |
[INFO] [stdout] 111 |     if let Ok(mut watcher) = notify::recommended_watcher(tx) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                              up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 131 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-7.0.0/src/inotify.rs:594:1
[INFO] [stdout]     |
[INFO] [stdout] 594 | impl Drop for INotifyWatcher {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `rx` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:1411:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/database/users.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let connection: Connection = match Connection::open("./database.db") {
[INFO] [stdout]     |             ----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `connection` calls a custom destructor
[INFO] [stdout]     |             `connection` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 122 |         match user.insert(&connection) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 126 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `connection` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.32.1/src/lib.rs:385:1
[INFO] [stdout]     |
[INFO] [stdout] 385 | impl Drop for Connection {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/database/users.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let connection: Connection = match Connection::open("./database.db") {
[INFO] [stdout]     |             ----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `connection` calls a custom destructor
[INFO] [stdout]     |             `connection` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 134 |         let mut stmt = match connection.prepare("UPDATE users SET date = ? WHERE telegram_id = ?") {
[INFO] [stdout]     |             --------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `stmt` calls a custom destructor
[INFO] [stdout]     |             `stmt` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 139 |         match stmt.execute([chrono::Local::now().timestamp(), id]) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 143 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `connection` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.32.1/src/lib.rs:385:1
[INFO] [stdout]     |
[INFO] [stdout] 385 | impl Drop for Connection {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `stmt` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.32.1/src/statement.rs:780:1
[INFO] [stdout]     |
[INFO] [stdout] 780 | impl Drop for Statement<'_> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |         unsafe { JSON_FILE.clone() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let mut j = JSON_FILE.write().await;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:111:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (tx, rx) = mpsc::channel::<notify::Result<Event>>();
[INFO] [stdout]     |              --
[INFO] [stdout]     |              |
[INFO] [stdout]     |              `rx` calls a custom destructor
[INFO] [stdout]     |              `rx` will be dropped later as of Edition 2024
[INFO] [stdout] 110 |
[INFO] [stdout] 111 |     if let Ok(mut watcher) = notify::recommended_watcher(tx) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                              up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 131 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-7.0.0/src/inotify.rs:594:1
[INFO] [stdout]     |
[INFO] [stdout] 594 | impl Drop for INotifyWatcher {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `rx` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/mpmc/mod.rs:1411:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/database/users.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let connection: Connection = match Connection::open("./database.db") {
[INFO] [stdout]     |             ----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `connection` calls a custom destructor
[INFO] [stdout]     |             `connection` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 122 |         match user.insert(&connection) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 126 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `connection` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.32.1/src/lib.rs:385:1
[INFO] [stdout]     |
[INFO] [stdout] 385 | impl Drop for Connection {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/database/users.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let connection: Connection = match Connection::open("./database.db") {
[INFO] [stdout]     |             ----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `connection` calls a custom destructor
[INFO] [stdout]     |             `connection` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 134 |         let mut stmt = match connection.prepare("UPDATE users SET date = ? WHERE telegram_id = ?") {
[INFO] [stdout]     |             --------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `stmt` calls a custom destructor
[INFO] [stdout]     |             `stmt` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 139 |         match stmt.execute([chrono::Local::now().timestamp(), id]) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 143 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `connection` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.32.1/src/lib.rs:385:1
[INFO] [stdout]     |
[INFO] [stdout] 385 | impl Drop for Connection {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `stmt` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.32.1/src/statement.rs:780:1
[INFO] [stdout]     |
[INFO] [stdout] 780 | impl Drop for Statement<'_> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |         unsafe { JSON_FILE.clone() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let mut j = JSON_FILE.write().await;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.03s
[INFO] [stderr] crater-edition-check: ruqyah_telegram_bot v1.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking ruqyah_telegram_bot v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]    --> src/cmd/json.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl JSON {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn write(&self, path: &str) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ruqyah_telegram_bot` (bin "ruqyah_telegram_bot" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] warning: methods `update` and `delete` are never used
[INFO] [stdout]  --> src/database/table.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Table {
[INFO] [stdout]   |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 7 |     fn update(&self, conn: &Connection) -> Result<(), rusqlite::Error>;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 8 |     fn delete(&self, conn: &Connection) -> Result<(), rusqlite::Error>;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |         unsafe { JSON_FILE.clone() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ruqyah_telegram_bot` (bin "ruqyah_telegram_bot") due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let mut j = JSON_FILE.write().await;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]    --> src/cmd/json.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl JSON {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn write(&self, path: &str) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `delete` are never used
[INFO] [stdout]  --> src/database/table.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Table {
[INFO] [stdout]   |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 7 |     fn update(&self, conn: &Connection) -> Result<(), rusqlite::Error>;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 8 |     fn delete(&self, conn: &Connection) -> Result<(), rusqlite::Error>;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |         unsafe { JSON_FILE.clone() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/cmd/json.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     let mut j = JSON_FILE.write().await;
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 - static mut JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout] 70 + static JSON_FILE: LazyLock<Arc<RwLock<JSON>>> =
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361", kill_on_drop: false }`
[INFO] [stdout] b9237505458d23fa84ea0f7e3aa246353dc0bbce3d5dbea39c92b7a9b1b3c361
